package sentStruct;

public  class PartOfSpeech {
	
	private String value;
	private boolean negative;
	
	public PartOfSpeech(){
		
	}
	

	public PartOfSpeech(String value){
		this.value= value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	

	public boolean isNegative() {
		return negative;
	}


	public void setNegative(boolean negative) {
		this.negative = negative;
	}
	
	@Override
	public String toString(){
		if (this.negative)
			return "(NOT)"+this.value;
		else
		return this.value;
		
	}
	
	

}
